#include <QString>
#include <iostream>
#include "springTreeItem.h"

SpringTreeItem::SpringTreeItem(QTreeWidgetItem *_parentItem, Spring *_spring) : TreeItem(_parentItem), spring(_spring){
    setExpanded(true);

    QString str = QString::fromUtf8("Mola ");
    str.append(QString::number(spring->getID()));
    setText(0, str);
}

SpringTreeItem::~SpringTreeItem(){
}
